package com.cn.jx.operatlog.entity;

import java.io.Serializable;
import java.util.Date;

import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "operatorlog")
public class OperatorLog implements Serializable{

	/** <p>TODO <p>{@link long serialVersionUID}*/
	private static final long serialVersionUID = -3599233298736502809L;
	
	/** 操作标题 */
	private String title;
	
	/** 操作项目 */
	@Indexed
	private String resourceItem;
	
	/** 操作时间 */
	private Date operatTime;
	
	/** 操作人 */
	private String operatUser;
	
	/** 操作类型 保存更新删除移除等 */
	private String operatType;
	
	/** 操作描述 */
	private String operatDesc;
	
	/** 0未同步 1 已同步*/
	@Indexed(name="synchFlag",unique=false)
	private Integer synchFlag;
	
	/** 操作URL*/
	private String operatUrl;
	
	/** 操作IP*/
	private String operatIp;
	
	/** 操作设备*/
	private String operatEquipment;
	
	/** 操作设备名称*/
	private String operatMachineName;

	/** <p>{@link String String getTitle()*/
	public String getTitle() {
		return title;
	}

	/** <p>setTitle({@link String String title})*/
	public void setTitle(String title) {
		this.title = title;
	}


	/** <p>{@link String String getResourceItem()*/
	public String getResourceItem() {
		return resourceItem;
	}

	/** <p>setResourceItem({@link String String resourceItem})*/
	public void setResourceItem(String resourceItem) {
		this.resourceItem = resourceItem;
	}

	/** <p>{@link Date Date getOperatTime()*/
	public Date getOperatTime() {
		return operatTime;
	}

	/** <p>setOperatTime({@link Date Date operatTime})*/
	public void setOperatTime(Date operatTime) {
		this.operatTime = operatTime;
	}

	/** <p>{@link String String getOperatUser()*/
	public String getOperatUser() {
		return operatUser;
	}

	/** <p>setOperatUser({@link String String operatUser})*/
	public void setOperatUser(String operatUser) {
		this.operatUser = operatUser;
	}

	/** <p>{@link String String getOperatType()*/
	public String getOperatType() {
		return operatType;
	}

	/** <p>setOperatType({@link String String operatType})*/
	public void setOperatType(String operatType) {
		this.operatType = operatType;
	}

	/** <p>{@link String String getOperatDesc()*/
	public String getOperatDesc() {
		return operatDesc;
	}

	/** <p>setOperatDesc({@link String String operatDesc})*/
	public void setOperatDesc(String operatDesc) {
		this.operatDesc = operatDesc;
	}

	/** <p>{@link Integer Integer getSynchFlag()*/
	public Integer getSynchFlag() {
		return synchFlag;
	}

	/** <p>setSynchFlag({@link Integer Integer synchFlag})*/
	public void setSynchFlag(Integer synchFlag) {
		this.synchFlag = synchFlag;
	}

	/** <p>{@link String String getOperatUrl()*/
	public String getOperatUrl() {
		return operatUrl;
	}

	/** <p>setOperatUrl({@link String String operatUrl})*/
	public void setOperatUrl(String operatUrl) {
		this.operatUrl = operatUrl;
	}

	/** <p>{@link String String getOperatIp()*/
	public String getOperatIp() {
		return operatIp;
	}

	/** <p>setOperatIp({@link String String operatIp})*/
	public void setOperatIp(String operatIp) {
		this.operatIp = operatIp;
	}

	/** <p>{@link String String getOperatEquipment()*/
	public String getOperatEquipment() {
		return operatEquipment;
	}

	/** <p>setOperatEquipment({@link String String operatEquipment})*/
	public void setOperatEquipment(String operatEquipment) {
		this.operatEquipment = operatEquipment;
	}

	/** <p>{@link String String getOperatMachineName()*/
	public String getOperatMachineName() {
		return operatMachineName;
	}

	/** <p>setOperatMachineName({@link String String operatMachineName})*/
	public void setOperatMachineName(String operatMachineName) {
		this.operatMachineName = operatMachineName;
	}
	
	
}
